package com.order.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单评论点赞记录表
 * </p>
 *
 * @author 小杰大人
 * @since 2025-10-09
 */
@Getter
@Setter
@ToString
@TableName("order_review_like")
@ApiModel(value = "OrderReviewLike对象", description = "订单评论点赞记录表")
public class OrderReviewLike implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @ApiModelProperty("记录ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联评论ID
     */
    @TableField("review_id")
    @ApiModelProperty("关联评论ID")
    private Long reviewId;


    /**
     * 点赞用户ID
     */
    @TableField("user_id")
    @ApiModelProperty("点赞用户ID")
    private Long userId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;
}
